import React, { Component } from 'react';

class App extends Component {
  constructor(){
    super()
    this.tryerr = this.tryerr.bind()
  }

  tryerr(){
    var eee = [];
    console.log(eee[1][3]);
  }

  render() {
    return (
      <div className="App">
        <header className="App-header">
          <h1 className="App-title">Welcome to React</h1>
        </header>
        <p className="App-intro" onClick={this.tryerr}>
          To get started, edit <code>src/App.js</code> and save to reload.
        </p>
      </div>
    );
  }
}

export default App;
